package com.item.service;

import com.item.dao.MobileVerifyMapper;
import com.item.dao.model.MobileVerify;
import com.item.dao.model.MobileVerifyExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MobileVerifyService {
    @Autowired
    private MobileVerifyMapper mobileVerifyMapper;

    private static final Logger logger = Logger.getLogger(MobileVerifyService.class);

    public int countByExample(MobileVerifyExample example) {
        return this.mobileVerifyMapper.countByExample(example);
    }

    public MobileVerify selectByPrimaryKey(String id) {
        return this.mobileVerifyMapper.selectByPrimaryKey(id);
    }

    public List<MobileVerify> selectByExample(MobileVerifyExample example) {
        return this.mobileVerifyMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String id) {
        return this.mobileVerifyMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(MobileVerify record) {
        return this.mobileVerifyMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(MobileVerify record) {
        return this.mobileVerifyMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(MobileVerifyExample example) {
        return this.mobileVerifyMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(MobileVerify record, MobileVerifyExample example) {
        return this.mobileVerifyMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(MobileVerify record, MobileVerifyExample example) {
        return this.mobileVerifyMapper.updateByExample(record, example);
    }

    public int insert(MobileVerify record) {
        return this.mobileVerifyMapper.insert(record);
    }

    public int insertSelective(MobileVerify record) {
        return this.mobileVerifyMapper.insertSelective(record);
    }
}